Zadig 文档
Zadig
教程
博客
论坛
关于
中文英文
Zadig
教程
博客
论坛
关于
Zadig v5.0
Loading...
     编辑文档
     反馈问题
     社区讨论

    本页导航

    Zadig CLI

    Zadig CLI is the command-line tool for Zadig. Use it in a terminal to manage projects, services, environments, workflows, and other resources. It is also the unified entry point for AI Agents to call Zadig. Codex, Claude Code, and Hermes Agent can discover and run the CLI through Skills. Optional read-only MCP access is available for clients such as Cursor and VS Code.

    # Supported Capabilities

    Capabilities are continuously updated.

    AreaCurrently supported
    ProjectCreate, list, detail, delete
    ServiceList, detail, YAML create, configuration update, variable update, delete
    EnvironmentCreate, list, detail, update, delete, service change, Pod query, restart, logs
    BuildCreate, list, detail, update, delete
    WorkflowCreate, list, detail, update, delete, run, wait for result
    Workflow taskList, detail, cancel, retry, approve, remark, logs
    Execution gateIdentify manual execution stages, determine whether the current user can execute, continue execution
    TestRun test tasks, query task results
    Code scanRun scan tasks, query task results
    RegistryList, detail
    ClusterCluster list
    UserUser list, detail, delete; user group list
    PermissionResource actions, role CRUD, user and user group role binding
    Operation logsSystem operation logs, environment operation logs
    Agent integrationCodex, Claude Code, Hermes Agent Skill
    MCP compatibilityOptional read-only MCP access for clients such as Cursor and VS Code
    Automation outputTable, JSON, and Raw output, structured errors, and explicit exit codes
    Write protection--dry-run preview, --yes confirmation, local request audit

    # Prerequisites

    Tip

    • Zadig version must be v5.0 or later.
    • You need a Zadig API Token (available in Account Settings).

    # Installation

    # One-click CLI and Skill install

    Run the following command in a terminal (macOS / Linux / Windows):

    npx -y @koderover/zadig-cli@latest install && zadig skill install
    
    1

    Install CLI and Skill

    The installer will:

    • Install the latest Zadig CLI as a global command
    • Prompt you for the Zadig server URL and API Token
    • Save local credentials and check the connection
    • Install the Zadig Skill for detected AI coding tools

    Tip

    The token is not displayed in plaintext when entered, and is not written to Skill or client configuration.

    # Verify the installation

    Check the CLI version:

    zadig version
    
    1

    Check CLI version

    Check the Zadig connection status:

    zadig auth status --output json
    
    1

    Check connection status

    Check the local installation and network status:

    zadig doctor --output json
    
    1

    Check local installation and network status

    Check whether AI Agents have discovered the Zadig Skill:

    zadig doctor agent codex --output json
    zadig doctor agent claude-code --output json
    zadig doctor agent hermes-agent --output json
    
    1
    2
    3

    Check Agent Skill

    After installing or updating the Skill, restart the corresponding AI coding tool.

    # Usage Scenarios

    The following are some example scenarios. Explore more as needed.

    # Operations setup: copy a project

    Copy a new project from an existing one, including services, builds, environments, and workflows.

    Copy a project

    # Day-to-day operations: clean up workflows

    Batch-clean unused workflows.

    Clean up workflows

    # Delivery: update a service

    Update a service by running a workflow.

    Update a service with a workflow

    # Troubleshooting: view service logs

    View and analyze service logs.

    View service logs

    # Efficiency analysis: view build logs

    View workflow build logs to identify efficiency bottlenecks.

    Analyze build logs

    ← Custom Workflow TasksMCP Protocol Integration→

    资源
    教程
    论坛
    博客
    公司
    关于
    客户故事
    加入我们
    联系我们
    微信扫一扫
    hello@koderover.com

    © 2026 筑栈(上海)信息技术有限公司 沪 ICP 备 19000177 号 - 1

    •  跟随系统
    •  浅色模式
    •  深色模式
    •  阅读模式